package org.zh.home.dao;

import java.util.List;

import org.zh.home.entity.Role;
import org.zh.home.entity.User;
import org.zh.home.model.Pager;
import org.zh.home.model.Query;

public interface IUserDao extends IBase<User> {
	public List<Role> listRoleByUser(int userId);
	public List<Integer> listRoleIdsByUser(int userId);
	public Pager<User> findUser(List<Query> model);
}
